package com.df.ez_game.core.layer_demo;

import com.df.ez_game.core.LayerServerNode;
import com.df.ez_game.core.layers.BusinessLayer;
import com.df.ez_game.core.layers.NetLayer;
import com.df.ez_game.core.layers.RouterLayer;
import com.df.ez_game.core.layers.ServerNodeSetting;
import com.df.ez_game.server.ServerNode;

public class DefaultServerNode extends LayerServerNode {

    ServerNodeSetting setting;

    NetLayer netLayer;
    RouterLayer routerLayer;
    BusinessLayer businessLayer;



    @Override
    public void start() {

    }


    @Override
    public void stop() {

    }

    public ServerNodeSetting setting(){
        if(setting==null){
            setting = new ServerNodeSetting(this);
        }
        return setting;
    }
}
